/* *****************************************************************************
 *
 * $Author: $
 *
 * $Date: $
 * $Revision: 144 $
 *
 * -----------------------------------------------------------------------------
 *
 * Description:
 *
 * The implementation of class 'singleton'.
 *
 * *****************************************************************************
 */

#include <simple_singleton.hpp>

simple_singleton *simple_singleton::_instance = 0x0;

simple_singleton::simple_singleton()
{}

simple_singleton::~simple_singleton()
{}

simple_singleton *simple_singleton::instance()
{
	if(_instance == 0x0)
		_instance = new simple_singleton();

	return _instance;
}
